<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
<script>
    // 呆呆是一条可爱的小狗，它的叫声很好听wow每次见到主人就会乖乖的叫一声yelp。请写出这段描述可以的得到的对象
    function Dog(name) { 
        this.name= name;
        this.wow= function () { 
            alert("wow")
         }
     }
     Dog.prototype.yelp = function () {  
        alert("yelp")
     }

     var DaiDai = new Dog("呆呆");
     DaiDai.wow();
     DaiDai.yelp();
</script>
</html>